/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package de.pitkley.jocabulary;

import java.util.List;
import javax.swing.DefaultListModel;

/**
 *
 * @author pit
 */
public class UnitListModel extends DefaultListModel {

    public UnitListModel(List<Unit> units) {
        for (Unit u : units) {
            this.addElement(u);
        }
    }
}
